package cn.java63.garden;
import java.util.*;
public class Gardon {
    private String addr;
    private String  tele;

    private  List<String> flowers=new ArrayList<>();

    //key renming,value 是职务
    private Map<String,String> emps=new HashMap<>();

    public void show(){
        System.out.println("花园位于"+addr+",电话是："+tele);
        System.out.println("培育的品种有："+flowers+"\n职工有"+emps);
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public void setTele(String tele) {
        this.tele = tele;
    }

    public void setFlowers(List<String> flowers) {
        this.flowers = flowers;
    }

    public void setEmps(Map<String, String> emps) {
        this.emps = emps;
    }
}
